#include "NonLinearTask.h"

using namespace Kernel;

//=============================================================================
// NonLinearTask

void NonLinearTask::Solve ()
{
    StartSolutionStep ();
    SolveSolutionStep ();
    EndSolutionStep ();
}

bool NonLinearTask::IsConverged ()
{
    return true;
}

void NonLinearTask::SolveSolutionStep ()
{
    while (!IsConverged ())
    {
        StartNonLinearIteration ();
        SolveNonLinearIteration ();
        EndNonLinearIteration ();
    }
}

void NonLinearTask::StartNonLinearIteration ()
{

}

void NonLinearTask::SolveNonLinearIteration ()
{

}

void NonLinearTask::EndNonLinearIteration ()
{

}